// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeAbnormalDBInstancesResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeAbnormalDBInstancesResponse::DescribeAbnormalDBInstancesResponse() {
}

const std::vector<string>& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetAdviseValue(void) const {
  return AdviseValue_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetCheckTime(void) const {
  return CheckTime_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetCheckItem(void) const {
  return CheckItem_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetAbnormalReason(void) const {
  return AbnormalReason_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetAbnormalValue(void) const {
  return AbnormalValue_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetAbnormalDetail(void) const {
  return AbnormalDetail_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem::GetAdviceKey(void) const {
  return AdviceKey_;
}

const std::vector<DescribeAbnormalDBInstancesResponse::InstanceResult::AbnormalItem>& DescribeAbnormalDBInstancesResponse::InstanceResult::GetAbnormalItems(void) const {
  return AbnormalItems_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::GetDBInstanceDescription(void) const {
  return DBInstanceDescription_;
}

const string& DescribeAbnormalDBInstancesResponse::InstanceResult::GetDBInstanceId(void) const {
  return DBInstanceId_;
}

const std::vector<DescribeAbnormalDBInstancesResponse::InstanceResult>& DescribeAbnormalDBInstancesResponse::GetItems(void) const {
  return Items_;
}

int DescribeAbnormalDBInstancesResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescribeAbnormalDBInstancesResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeAbnormalDBInstancesResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeAbnormalDBInstancesResponse::BaseKey(void) {
  return "DescribeAbnormalDBInstancesResponse";
}

void DescribeAbnormalDBInstancesResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeAbnormalDBInstancesResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      int Items_i1_AbnormalItems__length = 0;
      UnmarshallerInt(Items_i1_AbnormalItems__length, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems.Length");
      if(Items_i1_AbnormalItems__length >= 0) {
        Items_[i1].AbnormalItems_.resize(Items_i1_AbnormalItems__length);
        for(int i2 = 0; i2 < Items_i1_AbnormalItems__length; i2++) {
          int Items_i1_AbnormalItems_i2_AdviseValue__length = 0;
          UnmarshallerInt(Items_i1_AbnormalItems_i2_AdviseValue__length, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems[+"+string_ValueOfInt(i2)+"].AdviseValue.Length");
          if(Items_i1_AbnormalItems_i2_AdviseValue__length >= 0) {
            Items_[i1].AbnormalItems_[i2].AdviseValue_.resize(Items_i1_AbnormalItems_i2_AdviseValue__length);
            for(int i3 = 0; i3 < Items_i1_AbnormalItems_i2_AdviseValue__length; i3++) {
              UnmarshallerString(Items_[i1].AbnormalItems_[i2].AdviseValue_[i3], response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems[+"+string_ValueOfInt(i2)+"].AdviseValue["+string_ValueOfInt(i3)+"]");
            } // for(int i3 = 0; i3 < Items_i1_AbnormalItems_i2_AdviseValue__length; i3++) {
          } // if(Items_i1_AbnormalItems_i2_AdviseValue__length >= 0) {

          UnmarshallerString(Items_[i1].AbnormalItems_[i2].CheckTime_, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems["+string_ValueOfInt(i2)+"].CheckTime");
          UnmarshallerString(Items_[i1].AbnormalItems_[i2].CheckItem_, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems["+string_ValueOfInt(i2)+"].CheckItem");
          UnmarshallerString(Items_[i1].AbnormalItems_[i2].AbnormalReason_, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems["+string_ValueOfInt(i2)+"].AbnormalReason");
          UnmarshallerString(Items_[i1].AbnormalItems_[i2].AbnormalValue_, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems["+string_ValueOfInt(i2)+"].AbnormalValue");
          UnmarshallerString(Items_[i1].AbnormalItems_[i2].AbnormalDetail_, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems["+string_ValueOfInt(i2)+"].AbnormalDetail");
          UnmarshallerString(Items_[i1].AbnormalItems_[i2].AdviceKey_, response_map, "DescribeAbnormalDBInstancesResponse.Items[+"+string_ValueOfInt(i1)+"].AbnormalItems["+string_ValueOfInt(i2)+"].AdviceKey");
        } // for(int i2 = 0; i2 < Items_i1_AbnormalItems__length; i2++) {
      } // if(Items_i1_AbnormalItems__length >= 0) {

      UnmarshallerString(Items_[i1].DBInstanceDescription_, response_map, "DescribeAbnormalDBInstancesResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceDescription");
      UnmarshallerString(Items_[i1].DBInstanceId_, response_map, "DescribeAbnormalDBInstancesResponse.Items["+string_ValueOfInt(i1)+"].DBInstanceId");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCount_, response_map, "DescribeAbnormalDBInstancesResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeAbnormalDBInstancesResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeAbnormalDBInstancesResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
